package com.battery.pojo;

public class PowerBank {
	private int pb_id;  //电源id
	private double pb_power;  //电源电量
	private int device_id;  //设备id
	private int pb_location;  //卡槽位置
	private int pb_status;  //电源状态（是否弹出）
	private double pb_voltage;  //电源电压
	private int pb_parts_head;  //是否有充电头
	private int pb_parts_line;  //是否有充电线
	private double pb_temperature;  //电源温度



	public PowerBank(int pb_id, double pb_power, int device_id, int pb_location, int pb_status, double pb_voltage, int pb_parts_head, int pb_parts_line, double pb_temperature) {
		this.pb_id = pb_id;
		this.pb_power = pb_power;
		this.device_id = device_id;
		this.pb_location = pb_location;
		this.pb_status = pb_status;
		this.pb_voltage = pb_voltage;
		this.pb_parts_head = pb_parts_head;
		this.pb_parts_line = pb_parts_line;
		this.pb_temperature = pb_temperature;
	}

	public int getPb_id() {
		return pb_id;
	}
	public void setPd_id(int pd_id) {
		this.pb_id = pd_id;
	}
	public double getPb_power() {
		return pb_power;
	}
	public void setPb_power(double pb_power) {
		this.pb_power = pb_power;
	}
	public int getDevice_id() {
		return device_id;
	}
	public void setDevice_id(int device_id) {
		this.device_id = device_id;
	}
	public int getPb_location() {
		return pb_location;
	}
	public void setPb_location(int pb_location) {
		this.pb_location = pb_location;
	}
	public int getPb_status() {
		return pb_status;
	}
	public void setPb_status(int pb_status) {
		this.pb_status = pb_status;
	}
	public double getPb_voltage() {
		return pb_voltage;
	}
	public void setPb_voltage(double pb_voltage) {
		this.pb_voltage = pb_voltage;
	}
	public int getPb_parts_head() {
		return pb_parts_head;
	}
	public void setPb_parts_head(int pb_parts_head) {
		this.pb_parts_head = pb_parts_head;
	}
	public int getPb_parts_line() {
		return pb_parts_line;
	}
	public void setPb_parts_line(int pb_parts_line) {
		this.pb_parts_line = pb_parts_line;
	}
	public double getPb_temperature() {
		return pb_temperature;
	}
	public void setPb_temperature(double pb_temperature) {
		this.pb_temperature = pb_temperature;
	}
	

}
